#ifndef COUNTERSTATISTICS_H
#define COUNTERSTATISTICS_H

/*
 *	By Yinpeng Li, mousquetaires@unc.edu
 */

#include <Counter.h>
#include <vnl/vnl_least_squares_function.h>

class SingleGaussianFunctor:public vnl_least_squares_function{

protected:
	Counter &counter ;

public:
	explicit SingleGaussianFunctor(Counter &c) ;
	
	void f(vnl_vector<double> const& x, vnl_vector<double>& fx) ;
} ;

#endif
